import { useStore } from "@/store";
import type { userInfoType } from "@/utils/type";



const useGetUserInfo = () => {
  const {username,nickname} = useStore().info as userInfoType;

  return {username, nickname}
}


export default useGetUserInfo;  